package net.wofly.sale.commodity.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 订单类型与渠道映射表
 * <ol>
 * 	<li>订单类型与渠道映射表。用于订单中商品价格</li>
 * </ol>
 * @author lign
 * @version 1.0
 * @created 05-三月-2018 14:36:07
 */
@Data
@Entity
@Table(name = "sale_commodity_OrderTypeChannelMapping")
@ApiModel(description = "订单类型与渠道映射实体")
public class OrderTypeChannelMapping {

	@Id
	private String orderTypeChannelMappingID;
	
	@ApiModelProperty(value = "定单类型", required = true)
	private String orderType;
	
	@ApiModelProperty(value = "渠道", required = true)
	private String channel;
	
	private Long modifyDate;

	public OrderTypeChannelMapping(){

	}

	@Override
	public void finalize() throws Throwable {

	}
}//end OrderTypeChannelMapping